package cn.lds.j368.dsbank.constant;

import java.util.Arrays;
import java.util.List;

public class DsBankConstants {

  public static class SysMsg{
    public static final String QUERY_FAIL = "没有查询到数据";

    public static final String ADD_DATA_FAIL = "数据添加发生错误";
    public static final String MODIFY_DATA_FAIL = "数据修改发生错误";

    public static final String DEL_DATA_FAIL = "数据删除失败";
  }


  public static class EmpMsg{

    public static final String EMP_EMPTY = "休假中……";

    public static final String SYS_ERROR = "系统升级中……";

    public static final String LOGIN_SUCCESS = "您好，工作好心情";

    public static final String NO_LOGIN = "您没有登录，请登录后访问";

    public static final String LOGIN_ERR = "用户名密码错";

    public static final String CHECK_CODE_ERR = "验证码验证失败";

    public static final String QUERY_EMP_FAIL = "没有查询到员工数据";
  }

  public static class upload{
    //定义了身份证照片上传的文件格式
    public static final List<String> CONTENT_TYPES = Arrays.asList("image/jpeg","image/gif","image/png");
  }
}